package org.finesys.common.excel.handler;

import cn.idev.excel.write.handler.WorkbookWriteHandler;
import cn.idev.excel.write.metadata.holder.WriteWorkbookHolder;
import org.finesys.common.excel.converter.DictTypeConverter;

/**
 * dict 缓存清空
 */
public class DictCacheClearSheetWriteHandler implements WorkbookWriteHandler {

    @Override
    public void afterWorkbookDispose(WriteWorkbookHolder writeWorkbookHolder) {
        DictTypeConverter.cache.clear();
    }
}
